<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>转账</title>
</head>
<body>
    <div>
        <h4 style="align-content: center">转账</h4>
        <form action="transferAccountForm">
            对方账号:<input type="text" name="account" id="eid">
            转账金额:<input type="number" name="amount" id="amount">
            支付密码:<input type="password" name="payPassword">
            <input type="submit" value="转账">
        </form>
        <span id="mingzi"></span>
    </div>

</body>
<script type="text/javascript" th:src="@{/e/js/jquery-3.4.1.min.js}">
</script>
<script type="text/javascript">
    $(function (){
        let $eid = $("#eid");
        $eid.blur(function (){
            $.ajax({
                url:"http://localhost:9099/e/flow/getEName",
                method:"post",
                data:{account:$eid.val()}
            }).then(result=>{
               alert(result)
            })
        })
    })
</script>
</html>